package feeinterface.dao;

import java.util.HashMap;
import java.util.Map;
import com.ulwx.tool.CTime;
import com.ulwx.tool.DbUtils;
/**
 * 
 * @author 黄杰
 *
 */
public class BaseFindAreaByIPErrorDao {

	public static void insert(String ip)  {
		try{
			String sql = "insert into BaseFindAreaByIPError(IP,UpdateTime)"
					+ "values(?,?)";
//			DataBase db = DataBaseFactory.getDataBase();
			Map<Integer, Object> map = new HashMap<Integer, Object>();
			map = new HashMap<Integer, Object>();
			map.put(1, ip);
			map.put(2, CTime.getCurrentDateTime());
			DbUtils.executeBindInsert(null,sql, map);
		}catch(Exception e){
			
		}
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
